<!-- 我的详情 -->

<template>
  <div>
    <FormInput label="防区名称" bind="defenceName" required />

    <FormInput label="防区编号" bind="defenceCode" required />

    <FormSelect label="防区类型" bind="zoneType" :dict="CORE.DICT.defense_zone_type_code" noClear />

    <FormSelect label="感应方式" bind="inductionMethod" :dict="CORE.DICT.induction_method_code" noClear />

    <FormTree
      :label="`所在${CORE.MAP.REGION}`"
      bind="areaId, areaName"
      :dict="CORE.REGION.DICT"
      allName
      noClear
      required
    />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyDetail',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
